package cn.deschen.app.vo;

import cn.deschen.biz.dto.unit.UnitEleDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;
import java.util.Map;

/**
 * @Author hanbin_chen
 * @Description 推广单元详情
 * @DateTime 2021/6/22
 * @Version V1.0.0
 */
@Data
@EqualsAndHashCode
@ApiModel(value="推广单元详情", description="推广单元详情")
public class UnitDetailVO {

    @ApiModelProperty(value = "主键ID")
    private Long id;

    @ApiModelProperty(value = "关联推广计划 id")
    private Long planId;

    @ApiModelProperty(value = "推广单元名称")
    private String unitName;

    @ApiModelProperty(value = "推广单元状态（normal-正常 stop-停用）")
    private String unitStatus;

    @ApiModelProperty(value = "广告位类型(coopen-开屏, patch-贴片 , center-中贴, pause-暂停帖, end-后贴)")
    private String positionType;

    @ApiModelProperty(value = "预算")
    private Long budget;

    @ApiModelProperty(value = "推广元素列表")
    private Map<String, List<UnitEleDTO>> eleMap;

}
